Skip to content

Set UV_CONSTRAINT and UV_OVERRIDE for better compat with keras-hub and tensorflow-text - #1518

Merged
t-kalinowski merged 3 commits into
mainfrom
keras-constraints
Oct 6, 2025
Merged

Set UV_CONSTRAINT and UV_OVERRIDE for better compat with keras-hub and tensorflow-text#1518
t-kalinowski merged 3 commits into
mainfrom
keras-constraints

Conversation

@t-kalinowski

Copy link
Copy Markdown
Member

There is a minor patchwork of incompatibilities to avoid between keras-hub, tensorflow-text, and tensorflow-cpu.

This PR has us set UV_CONSTRAINT and UV_OVERRIDE to ensure that the following simple usage "just works":

library(keras3)
use_backend(ANY, gpu = ANY)

py_require(c("keras-hub", "tensorflow-text"))
keras_hub <- import("keras_hub")
...

@t-kalinowski
t-kalinowski merged commit 1b51f6e into main Oct 6, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant